package com.xiguaji.tiktok.v1.ins.favorite.model;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serializable;
/**
 * @author yzz
 * @Date 2021-02-04 14:42:01
 */
@Data
@Table(value="ins_favorite")
public class InsFavorite implements Serializable{

    /**
     *主键
     */
    @Id
    @Column(value="id")
    private java.lang.Integer id;

    /**
     *用户ID
     */
    @Column(value="user_id")
    private java.lang.Integer userId;

    /**
     *收藏类型0.ins博主收藏
     */
    @Column(value="type")
    private java.lang.Integer type;

    /**
     *博主ID
     */
    @Column(value="target_id")
    private java.lang.Long targetId;

    /**
     *创建时间
     */
    @Column(value="create_time")
    private java.lang.Long createTime;

}